package com.eedi.framework.sms.enums;

import com.eedi.framework.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * 用户短信验证码发送场景的枚举
 *
 * @author 永聚长青源码
 */
@Getter
@AllArgsConstructor
@ToString
public enum SmsSceneEnum implements BaseEnum<Integer,String> {

    MEMBER_LOGIN(1,  "会员用户 - 手机号登陆"),
    MEMBER_UPDATE_MOBILE(2,  "会员用户 - 修改手机"),
    MEMBER_UPDATE_PASSWORD(3, "会员用户 - 修改密码"),
    MEMBER_RESET_PASSWORD(4, "会员用户 - 忘记密码"),
    MEMBER_APPLY_UPDATE_MOBILE(5,  "会员用户 - 申请修改手机"),
    ADMIN_MEMBER_LOGIN(21,  "后台用户 - 手机号登录"),

    DOCTOR_LOGIN(61,  "医生端 - 手机号登录(占位)"),
    DOCTOR_MEMBER_UPDATE_MOBILE(65,  "医生端 - 修改手机号");

//    MEMBER_LOGIN(1, "user-sms-login", "会员用户 - 手机号登陆"),
//    MEMBER_UPDATE_MOBILE(2, "USER_UPDATE_MOBILE", "会员用户 - 修改手机"),
//    MEMBER_UPDATE_PASSWORD(3, "user-update-password", "会员用户 - 修改密码"),
//    MEMBER_RESET_PASSWORD(4, "user-reset-password", "会员用户 - 忘记密码"),
//    MEMBER_APPLY_UPDATE_MOBILE(5, "USER_APPLY_UPDATE_MOBILE", "会员用户 - 申请修改手机"),
//
//    ADMIN_MEMBER_LOGIN(21, "admin-sms-login", "后台用户 - 手机号登录");

    /**
     * 状态值
     */
    private final Integer code;
    /**
     * 状态名
     */
    private final String desc;

    @Override
    public String title() {
        return "用户短信验证码发送场景";
    }
}
